﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using BlueLotus7.SSQAnalysisCore;
using MongoDB.Driver.Builders;

namespace BlueLotus7.Test
{
    partial class Program
    {
        static void Main(string[] args)
        {
            //XDocument xDocument = XDocument.Parse(ssqData);
            XDocument xDocument = XDocument.Load("http://www.500wan.com//static/info/kaijiang/xml/ssq/list.xml");

            SSQLotteryDatabaseService service = new SSQLotteryDatabaseService();

            var result = service.SyncLotteryHistoryData(xDocument, true);
        }
    }
}
